export function isLogin() {
  let accessToken = getSessionItem('access_token');
  return !!accessToken;
}

export function getSessionItem(key) {
  return sessionStorage.getItem(`${key}`);
}
